from flask import Blueprint,render_template,g,request,redirect,url_for,flash
from decorators import  login_required
from .forms import QuestionForm,AnswerForm
from models import QuestionModel,AnswerModel
from exts import db
from sqlalchemy import or_
bp = Blueprint("neo4j",__name__,url_prefix="/neo4j")
@bp.route("/graph",methods=['POST', 'GET'])
@login_required
def get_graph():
        return render_template("neo4j.html")


